﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewjobs.aspx.cs" Inherits="Hired.viewjobs"
    MasterPageFile="Hired2Div.master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="HeadPlaceHolder">
    <style type="text/css">
        .viewjob_header
        {
            float: left;
            margin-left: 6px;
            width: 750px;
            font-size: 30px;
            font-family: "Franklin Gothic Demi";
                    
        }
        .viewjob_content
        {
            float: left;
            margin-top: -10px;
            width: 750px;
        }
       
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="LeftPlaceHolder">
    <div class="viewjob_header">
            Jobs in
            <asp:Label ID="lblIndustry" runat="server"></asp:Label>
    </div>
    <div class="viewjob_content">
        <asp:GridView ID="gvJobs" runat="server" AutoGenerateColumns="False" 
            AllowSorting="True" BorderStyle="Solid" BorderWidth="2px" 
            AllowPaging="True" CellPadding="10" GridLines="Horizontal" 
            HorizontalAlign="Left" style="margin-left: 0px; margin-top: 7px" 
            Width="719px">
            <AlternatingRowStyle BackColor="#CCCCFF" />
            <Columns>
                <asp:TemplateField HeaderText="Job Title">
                    
                    <ItemTemplate>
                        <asp:LinkButton ID="linkBtnJobTitle" runat="server" Font-Bold="True" 
                            Font-Size="Small" Text='<%# Eval("Title") %>' PostBackUrl='<%#"viewjob.aspx?id=" + Eval("JobId") %>'></asp:LinkButton>
                        <br />
                       <%-- <asp:LinkButton ID="linkBtnCompanyProfile" runat="server" Font-Size="Small" 
                            Text='<%# Eval("Company") %>' PostBackUrl='<%#"viewprofile.aspx?companyid=" + Eval("CompanyId") %>'></asp:LinkButton>--%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="MinimumQualifications" 
                    HeaderText="Min. Qualifications" />
                <asp:BoundField DataField="EstimatedSalary" HeaderText="Estimated Salary" />
                <asp:BoundField DataField="Type" HeaderText="Full-Time/Part-Time" />
                <asp:BoundField DataField="Timestamp" HeaderText="Time Posted" />
            </Columns>
            <HeaderStyle BackColor="#9933FF" BorderStyle="None" 
                ForeColor="White" HorizontalAlign="Left" VerticalAlign="Middle" />
            <PagerStyle BackColor="#9900FF" ForeColor="White" />
        </asp:GridView>
    </div>
</asp:Content>
